package com.itheima.day01.ZuoYe.ZuoYe3_4;

public class Test {
    public static void main(String[] args) {
        FamilyCar c1 = new FamilyCar("w","w","w");
        c1.start();
        c1.end();
        Taxi t1 = new Taxi();
        t1.start();
        t1.end();
        Car car1 = new Taxi();
        car1.end();
    }

}
